package com.example.lishop.service

import com.example.lishop.entity.BCompanyEntity
import org.springframework.data.domain.Page

/**
 * Created on 2021/3/14 17:58
 * @author shuguo
 */
interface CompanyService {
    fun add(data:BCompanyEntity):BCompanyEntity
    fun update(data:BCompanyEntity)
    fun del(companyId:String)
    fun list (page:Int, size:Int): Page<BCompanyEntity>
    fun detail(companyId:String): BCompanyEntity?
}